package com.hmall.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "mall_product_plan")
public class MallProductPlan {
    @Id
    @Column(name = "plan_id")
    private Integer planId;

    /**
     * 用户主键
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 交易方式
     */
    @Column(name = "deal_way")
    private String dealWay;

    /**
     * 收货地址
     */
    @Column(name = "shipping_id")
    private Integer shippingId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 审核状态 1审核中 2审核通过 3审核不通过
     */
    private Integer status;

    /**
     * 办事处id
     */
    @Column(name = "dealer_id")
    private Integer dealerId;

    /**
     * 业务员用户id
     */
    @Column(name = "sale_user_id")
    private Integer saleUserId;

    /**
     * 计划编号
     */
    @Column(name = "plan_no")
    private Long planNo;

    @Column(name = "opinion")
    private String opinion;

    @Column(name = "submit_person")
    private Integer submitPerson;

    /**
     * @return plan_id
     */
    public Integer getPlanId() {
        return planId;
    }

    /**
     * @param planId
     */
    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    /**
     * 获取用户主键
     *
     * @return user_id - 用户主键
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户主键
     *
     * @param userId 用户主键
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取交易方式
     *
     * @return deal_way - 交易方式
     */
    public String getDealWay() {
        return dealWay;
    }

    /**
     * 设置交易方式
     *
     * @param dealWay 交易方式
     */
    public void setDealWay(String dealWay) {
        this.dealWay = dealWay;
    }

    /**
     * 获取收货地址
     *
     * @return shipping_id - 收货地址
     */
    public Integer getShippingId() {
        return shippingId;
    }

    /**
     * 设置收货地址
     *
     * @param shippingId 收货地址
     */
    public void setShippingId(Integer shippingId) {
        this.shippingId = shippingId;
    }

    /**
     * 获取备注
     *
     * @return remark - 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     *
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取审核状态 1审核中 2审核通过 3审核不通过
     *
     * @return status - 审核状态 1审核中 2审核通过 3审核不通过
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置审核状态 1审核中 2审核通过 3审核不通过
     *
     * @param status 审核状态 1审核中 2审核通过 3审核不通过
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取办事处id
     *
     * @return dealer_id - 办事处id
     */
    public Integer getDealerId() {
        return dealerId;
    }

    /**
     * 设置办事处id
     *
     * @param dealerId 办事处id
     */
    public void setDealerId(Integer dealerId) {
        this.dealerId = dealerId;
    }

    /**
     * 获取业务员用户id
     *
     * @return sale_user_id - 业务员用户id
     */
    public Integer getSaleUserId() {
        return saleUserId;
    }

    /**
     * 设置业务员用户id
     *
     * @param saleUserId 业务员用户id
     */
    public void setSaleUserId(Integer saleUserId) {
        this.saleUserId = saleUserId;
    }

    /**
     * 获取计划编号
     *
     * @return plan_no - 计划编号
     */
    public Long getPlanNo() {
        return planNo;
    }

    /**
     * 设置计划编号
     *
     * @param planNo 计划编号
     */
    public void setPlanNo(Long planNo) {
        this.planNo = planNo;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public Integer getSubmitPerson() {
        return submitPerson;
    }

    public void setSubmitPerson(Integer submitPerson) {
        this.submitPerson = submitPerson;
    }
}